package mines;

import gui.Window;

import java.awt.Color;

public class Real extends MineType {

	public Real(Window window) {
		super(window);
	}

	@Override
	public void action() {
		this.setBackground(Color.red);
		window.gameOver();
	}

	@Override
	public void reveal() {
		if (isEnabled()) {
			pressed();
			this.setBackground(Color.red);
		}
	}
}
